package bean;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Time;


/**
 * @author 栋
 * @date 2022/11/7
 * @description 上架商品信息类
 */
public class Items {
    private String item_id;//商品编号
    private String item_name;//商品名称
    private Integer item_type;//商品类型
    private Integer item_count;//商品数量
    private BigDecimal item_price;//商品单价
    private String item_introduce;//商品简介
    private String item_img;//商品图片
    private String Ower_id;//上架者id
    private String method;//交易方式
    private Date app_date;//申请日期
    private Time app_time;//申请时间
    private String is_qualified;//是否合格
    private String admin_id;//审核管理员id
    private Date audit_date;
    private Time audit_time;//审核时间

    public Items() {
    }

    public Items(String item_id, String item_name, Integer item_type, Integer item_count, BigDecimal item_price, String item_introduce, String item_img, String ower_id, String method, Date app_date, Time app_time, String is_qualified, String admin_id, Date audit_date, Time audit_time) {
        this.item_id = item_id;
        this.item_name = item_name;
        this.item_type = item_type;
        this.item_count = item_count;
        this.item_price = item_price;
        this.item_introduce = item_introduce;
        this.item_img = item_img;
        Ower_id = ower_id;
        this.method = method;
        this.app_date = app_date;
        this.app_time = app_time;
        this.is_qualified = is_qualified;
        this.admin_id = admin_id;
        this.audit_date = audit_date;
        this.audit_time = audit_time;
    }

    public String getItem_id() {
        return item_id;
    }

    public void setItem_id(String item_id) {
        this.item_id = item_id;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public Integer getItem_type() {
        return item_type;
    }

    public void setItem_type(Integer item_type) {
        this.item_type = item_type;
    }

    public Integer getItem_count() {
        return item_count;
    }

    public void setItem_count(Integer item_count) {
        this.item_count = item_count;
    }

    public BigDecimal getItem_price() {
        return item_price;
    }

    public void setItem_price(BigDecimal item_price) {
        this.item_price = item_price;
    }

    public String getItem_introduce() {
        return item_introduce;
    }

    public void setItem_introduce(String item_introduce) {
        this.item_introduce = item_introduce;
    }

    public String getItem_img() {
        return item_img;
    }

    public void setItem_img(String item_img) {
        this.item_img = item_img;
    }

    public String getOwer_id() {
        return Ower_id;
    }

    public void setOwer_id(String ower_id) {
        Ower_id = ower_id;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Date getApp_date() {
        return app_date;
    }

    public void setApp_date(Date app_date) {
        this.app_date = app_date;
    }

    public Time getApp_time() {
        return app_time;
    }

    public void setApp_time(Time app_time) {
        this.app_time = app_time;
    }

    public String getIs_qualified() {
        return is_qualified;
    }

    public void setIs_qualified(String is_qualified) {
        this.is_qualified = is_qualified;
    }

    public String getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(String admin_id) {
        this.admin_id = admin_id;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    public Time getAudit_time() {
        return audit_time;
    }

    public void setAudit_time(Time audit_time) {
        this.audit_time = audit_time;
    }


    @Override
    public String toString() {
        return "Items{" +
                "item_id='" + item_id + '\'' +
                ", item_name='" + item_name + '\'' +
                ", item_type=" + item_type +
                ", item_count=" + item_count +
                ", item_price=" + item_price +
                ", item_introduce='" + item_introduce + '\'' +
                ", item_img='" + item_img + '\'' +
                ", Ower_id='" + Ower_id + '\'' +
                ", method='" + method + '\'' +
                ", app_date=" + app_date +
                ", app_time=" + app_time +
                ", is_qualified='" + is_qualified + '\'' +
                ", admin_id='" + admin_id + '\'' +
                ", audit_date=" + audit_date +
                ", audit_time=" + audit_time +
                '}';
    }
}
